package com.qf.dao;

import com.qf.pojo.po.DSeatDetail;
import com.qf.pojo.req.Dtrain;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface DSeatDetailMapper {

    List<Dtrain> getdTrain(Integer dispatureId, Integer distinationId);

    DSeatDetail findMsgBySeatId(@Param("seatId") Integer seatId);

    int updateTrickNum(@Param("trickNum") Integer trickNum, @Param("seatId") Integer seatId);

    int updateTrickNumDelect(@Param("trainId") Integer trainId);
}
